FontVariationAxis.fromJson constructor

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

Implementation

factory FontVariationAxis.fromJson(Map<String, dynamic> json) {
  return FontVariationAxis(
    tag: json['tag'] as String,
    name: json['name'] as String,
    minValue: json['minValue'] as num,
    maxValue: json['maxValue'] as num,
    defaultValue: json['defaultValue'] as num,
  );
}