MRZImage.fromJson constructor

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

Implementation

factory MRZImage.fromJson(Map<String, dynamic> json) {
  return MRZImage(
    name: json['name'] as String,
    value: base64Decode(json['base64'] as String),
  );
}