toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (error != null) 'error': error!,
      if (frameEndTime != null) 'frameEndTime': frameEndTime!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (stateTime != null) 'stateTime': stateTime!,
      if (timeFrame != null) 'timeFrame': timeFrame!,
      if (vmCount != null) 'vmCount': vmCount!,
      if (vms != null) 'vms': vms!,
    };