NBFontSizes.fromJson constructor Null safety

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

Implementation

NBFontSizes.fromJson(Map<String, dynamic> json) {
  _i2xs = json['2xs'];
  _xs = json['xs'];
  _sm = json['sm'];
  _md = json['md'];
  _lg = json['lg'];
  _xl = json['xl'];
  _i2xl = json['2xl'];
  _i3xl = json['3xl'];
  _i4xl = json['4xl'];
  _i5xl = json['5xl'];
  _i6xl = json['6xl'];
  _i7xl = json['7xl'];
  _i8xl = json['8xl'];
  _i9xl = json['9xl'];
}