toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (instanceNumber != null) 'instanceNumber': instanceNumber!,
  if (machineType != null) 'machineType': machineType!,
  if (roles != null) 'roles': roles!,
  if (sapInstanceProperties != null)
    'sapInstanceProperties': sapInstanceProperties!,
  if (status != null) 'status': status!,
  if (upcomingMaintenanceEvent != null)
    'upcomingMaintenanceEvent': upcomingMaintenanceEvent!,
};