toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (computeEngineDisksTargetDetails != null)
        'computeEngineDisksTargetDetails': computeEngineDisksTargetDetails!,
      if (computeEngineTargetDetails != null)
        'computeEngineTargetDetails': computeEngineTargetDetails!,
      if (createTime != null) 'createTime': createTime!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (name != null) 'name': name!,
      if (progressPercent != null) 'progressPercent': progressPercent!,
      if (state != null) 'state': state!,
      if (stateMessage != null) 'stateMessage': stateMessage!,
      if (stateTime != null) 'stateTime': stateTime!,
      if (steps != null) 'steps': steps!,
    };