toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceptedData != null) 'acceptedData': acceptedData!,
      if (activeData != null) 'activeData': activeData!,
      if (creatingData != null) 'creatingData': creatingData!,
      if (deletingData != null) 'deletingData': deletingData!,
      if (failedData != null) 'failedData': failedData!,
      if (provisioningData != null) 'provisioningData': provisioningData!,
      if (state != null) 'state': state!,
      if (stateInitiator != null) 'stateInitiator': stateInitiator!,
      if (suspendedData != null) 'suspendedData': suspendedData!,
      if (suspendingData != null) 'suspendingData': suspendingData!,
    };