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