PersonCompanyAuthorization.fromJson constructor
PersonCompanyAuthorization.fromJson(
- Object? json
Implementation
factory PersonCompanyAuthorization.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PersonCompanyAuthorization(
files: map['files'] == null
? null
: (map['files'] as List<Object?>)
.map((el) => el == null ? null : (el as String))
.toList());
}