eventMessageFromJson function
Implementation
RuutEventMessage? eventMessageFromJson(value) {
if (value == null) {
return null;
} else if (value is num) {
return RuutEventMessage();
} else if (value is String) {
return RuutEventMessage();
} else {
return RuutEventMessage.fromJson(value as Map<String, dynamic>);
}
}