GetDocumentRequest.fromJson constructor
GetDocumentRequest.fromJson(
- Object? j
Implementation
factory GetDocumentRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetDocumentRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
);
}