ServiceEvent.fromJson constructor
Implementation
factory ServiceEvent.fromJson(Map<String, dynamic> json) {
return ServiceEvent(
createdAt: timeStampFromJson(json['createdAt']),
id: json['id'] as String?,
message: json['message'] as String?,
);
}