EventTypeSummary.fromJson constructor Null safety

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

Implementation

factory EventTypeSummary.fromJson(Map<String, dynamic> json) {
  return EventTypeSummary(
    eventTypeId: json['EventTypeId'] as String?,
    eventTypeName: json['EventTypeName'] as String?,
    resourceType: json['ResourceType'] as String?,
    serviceName: json['ServiceName'] as String?,
  );
}