Error.fromJson constructor

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

Implementation

factory Error.fromJson(Map<String, dynamic> json) => Error(
      type: json['type'] as String,
      help: json['help'] as String,
      description: json['description'],
    );