PageBlockVerticalAlignment.fromJson constructor
a PageBlockVerticalAlignment return type can be :
Implementation
factory PageBlockVerticalAlignment.fromJson(Map<String, dynamic> json) {
switch (json["@type"]) {
case PageBlockVerticalAlignmentTop.CONSTRUCTOR:
return PageBlockVerticalAlignmentTop.fromJson(json);
case PageBlockVerticalAlignmentMiddle.CONSTRUCTOR:
return PageBlockVerticalAlignmentMiddle.fromJson(json);
case PageBlockVerticalAlignmentBottom.CONSTRUCTOR:
return PageBlockVerticalAlignmentBottom.fromJson(json);
default:
return const PageBlockVerticalAlignment();
}
}