fromJson static method
Inherited by: PageBlockVerticalAlignmentBottom PageBlockVerticalAlignmentMiddle PageBlockVerticalAlignmentTop
Implementation
static PageBlockVerticalAlignment? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
switch (json['@type']) {
case PageBlockVerticalAlignmentBottom.constructor:
return PageBlockVerticalAlignmentBottom.fromJson(json);
case PageBlockVerticalAlignmentMiddle.constructor:
return PageBlockVerticalAlignmentMiddle.fromJson(json);
case PageBlockVerticalAlignmentTop.constructor:
return PageBlockVerticalAlignmentTop.fromJson(json);
default:
return null;
}
}