toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (abandoning != null) 'abandoning': abandoning!,
      if (creating != null) 'creating': creating!,
      if (creatingWithoutRetries != null)
        'creatingWithoutRetries': creatingWithoutRetries!,
      if (deleting != null) 'deleting': deleting!,
      if (none != null) 'none': none!,
      if (recreating != null) 'recreating': recreating!,
      if (refreshing != null) 'refreshing': refreshing!,
      if (restarting != null) 'restarting': restarting!,
      if (resuming != null) 'resuming': resuming!,
      if (starting != null) 'starting': starting!,
      if (stopping != null) 'stopping': stopping!,
      if (suspending != null) 'suspending': suspending!,
      if (verifying != null) 'verifying': verifying!,
    };