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