fromMap static method
override
Construct from Map.
Implementation
static InputStoryAreaType? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'inputStoryAreaTypeFoundVenue':
return InputStoryAreaTypeFoundVenue.fromMap(_map);
case 'inputStoryAreaTypeLocation':
return InputStoryAreaTypeLocation.fromMap(_map);
case 'inputStoryAreaTypeSuggestedReaction':
return InputStoryAreaTypeSuggestedReaction.fromMap(_map);
case 'inputStoryAreaTypePreviousVenue':
return InputStoryAreaTypePreviousVenue.fromMap(_map);
case null:
default:
return null;
}
}