OrderReturn.fromJson constructor

OrderReturn.fromJson(
  1. Map json_
)

Implementation

OrderReturn.fromJson(core.Map json_)
    : this(
        actor:
            json_.containsKey('actor') ? json_['actor'] as core.String : null,
        creationDate: json_.containsKey('creationDate')
            ? json_['creationDate'] as core.String
            : null,
        quantity: json_.containsKey('quantity')
            ? json_['quantity'] as core.int
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        reasonText: json_.containsKey('reasonText')
            ? json_['reasonText'] as core.String
            : null,
      );