fromMap static method
override
Construct from Map.
Implementation
static PageBlockVerticalAlignment? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'pageBlockVerticalAlignmentMiddle':
return PageBlockVerticalAlignmentMiddle.fromMap(_map);
case 'pageBlockVerticalAlignmentBottom':
return PageBlockVerticalAlignmentBottom.fromMap(_map);
case 'pageBlockVerticalAlignmentTop':
return PageBlockVerticalAlignmentTop.fromMap(_map);
case null:
default:
return null;
}
}