DeliveryError.fromJson constructor

DeliveryError.fromJson(
  1. Map json_
)

Implementation

DeliveryError.fromJson(core.Map json_)
    : this(
        errorClass: json_['errorClass'] as core.String?,
        errorRatio: (json_['errorRatio'] as core.num?)?.toDouble(),
        errorType: json_['errorType'] as core.String?,
      );