DataMatrixParams.fromJson constructor
DataMatrixParams.fromJson(
- Map<String, dynamic> json
)
Implementation
DataMatrixParams.fromJson(Map<String, dynamic> json) {
aspectRatio =
json['aspectRatio'] == null ? null : json['aspectRatio'].toDouble();
textEncoding = json['textEncoding'];
columns = json['columns'];
dataMatrixEcc = DataMatrixEccType.fromJson(json['dataMatrixEcc']);
dataMatrixEncodeMode =
DataMatrixEncodeMode.fromJson(json['dataMatrixEncodeMode']);
rows = json['rows'];
macroCharacters = MacroCharacter.fromJson(json['macroCharacters']);
version = DataMatrixVersion.fromJson(json['version']);
}