fromMap static method
override
Construct from Map.
Implementation
static MessageSchedulingState? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'messageSchedulingStateSendAtDate':
return MessageSchedulingStateSendAtDate.fromMap(_map);
case 'messageSchedulingStateSendWhenOnline':
return MessageSchedulingStateSendWhenOnline.fromMap(_map);
case null:
default:
return null;
}
}