FailureDetails.fromJson constructor
Implementation
factory FailureDetails.fromJson(Map<String, dynamic> json) {
return FailureDetails(
details: (json['Details'] as Map<String, dynamic>?)?.map((k, e) =>
MapEntry(
k, (e as List).whereNotNull().map((e) => e as String).toList())),
failureStage: json['FailureStage'] as String?,
failureType: json['FailureType'] as String?,
);
}