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