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