NestedResponse.fromJson constructor
Implementation
factory NestedResponse.fromJson(Map<String, Object?> json) {
return NestedResponse(
errorCollection: json[r'errorCollection'] != null
? ErrorCollection.fromJson(
json[r'errorCollection']! as Map<String, Object?>)
: null,
status: (json[r'status'] as num?)?.toInt(),
warningCollection: json[r'warningCollection'] != null
? WarningCollection.fromJson(
json[r'warningCollection']! as Map<String, Object?>)
: null,
);
}