FailureDescription.fromJson constructor

FailureDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FailureDescription.fromJson(Map<String, dynamic> json) {
  return FailureDescription(
    details: json['Details'] as String,
    type: (json['Type'] as String).toDeliveryStreamFailureType(),
  );
}