fromMap static method
override
Construct from Map.
Implementation
static MaskPoint? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'maskPointEyes':
return MaskPointEyes.fromMap(_map);
case 'maskPointChin':
return MaskPointChin.fromMap(_map);
case 'maskPointMouth':
return MaskPointMouth.fromMap(_map);
case 'maskPointForehead':
return MaskPointForehead.fromMap(_map);
case null:
default:
return null;
}
}