UpdateBasePlanStateRequest.fromJson constructor

UpdateBasePlanStateRequest.fromJson(
  1. Map json_
)

Implementation

UpdateBasePlanStateRequest.fromJson(core.Map json_)
    : this(
        activateBasePlanRequest: json_.containsKey('activateBasePlanRequest')
            ? ActivateBasePlanRequest.fromJson(
                json_['activateBasePlanRequest']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deactivateBasePlanRequest:
            json_.containsKey('deactivateBasePlanRequest')
                ? DeactivateBasePlanRequest.fromJson(
                    json_['deactivateBasePlanRequest']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );