FontSizes.fromJson constructor

FontSizes.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FontSizes.fromJson(Map<String, dynamic> json) {
  return FontSizes(
    standard: json.containsKey('standard') ? json['standard'] as int : null,
    fixed: json.containsKey('fixed') ? json['fixed'] as int : null,
  );
}