AccountDocument.fromJson constructor
AccountDocument.fromJson(
- Object? json
Implementation
factory AccountDocument.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountDocument(
back: map['back'] == null ? null : (map['back'] as String),
front: map['front'] == null ? null : (map['front'] as String),
);
}