ComponentSizes.fromMap constructor
Implementation
factory ComponentSizes.fromMap(Map<String, double> map) {
return ComponentSizes(
mainWidth: map['mainWidth']!,
mainHeight: map['mainHeight']!,
otherWidth: map['otherWidth']!,
otherHeight: map['otherHeight']!,
);
}