SpecificityComponent.fromJson constructor

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

Implementation

factory SpecificityComponent.fromJson(Map<String, dynamic> json) {
  return SpecificityComponent(
    text: json['text'] as String,
    a: json['a'] as int,
    b: json['b'] as int,
    c: json['c'] as int,
  );
}