EventRequest.fromJson constructor
Implementation
factory EventRequest.fromJson(Map<String, dynamic> json) {
return EventRequest(
json['name'] as String,
(json['data'] as Map<String, dynamic>).cast<String, String>(),
(json['multiData'] as Map<String, dynamic>).cast<String, List>(),
);
}