ChangePlanRequest.fromJson constructor

ChangePlanRequest.fromJson(
  1. Map json_
)

Implementation

ChangePlanRequest.fromJson(core.Map json_)
    : this(
        dealCode: json_.containsKey('dealCode')
            ? json_['dealCode'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        planName: json_.containsKey('planName')
            ? json_['planName'] as core.String
            : null,
        purchaseOrderId: json_.containsKey('purchaseOrderId')
            ? json_['purchaseOrderId'] as core.String
            : null,
        seats: json_.containsKey('seats')
            ? Seats.fromJson(
                json_['seats'] as core.Map<core.String, core.dynamic>)
            : null,
      );