EventType.fromJson constructor
Implementation
factory EventType.fromJson(Map<String, dynamic> json) {
return EventType(
category: (json['category'] as String?)?.toEventTypeCategory(),
code: json['code'] as String?,
service: json['service'] as String?,
);
}