toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (affectedCircuits != null) 'affectedCircuits': affectedCircuits!,
      if (description != null) 'description': description!,
      if (endTime != null) 'endTime': endTime!,
      if (issueType != null) 'issueType': issueType!,
      if (name != null) 'name': name!,
      if (source != null) 'source': source!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
    };