OpsItemEventSummary.fromJson constructor

OpsItemEventSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory OpsItemEventSummary.fromJson(Map<String, dynamic> json) {
  return OpsItemEventSummary(
    createdBy: json['CreatedBy'] != null
        ? OpsItemIdentity.fromJson(json['CreatedBy'] as Map<String, dynamic>)
        : null,
    createdTime: timeStampFromJson(json['CreatedTime']),
    detail: json['Detail'] as String?,
    detailType: json['DetailType'] as String?,
    eventId: json['EventId'] as String?,
    opsItemId: json['OpsItemId'] as String?,
    source: json['Source'] as String?,
  );
}