ITFParams.fromJson constructor

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

Creates a ITFParams instance from a JSON representation.

Implementation

ITFParams.fromJson(Map<String, dynamic> json) {
  borderThickness = json['borderThickness']?.toDouble();
  borderType = ITF14BorderType.fromJson(json['borderType']);
  quietZoneCoef = json['quietZoneCoef'];
}