ApiError.fromJson constructor

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

Implementation

ApiError.fromJson(Map<String, dynamic> json)
    : this.type = ifNullReturnEmpty(json['type']),
      this.title = ifNullReturnEmpty(json['title']),
      this.desc = ifNullReturnEmpty(json['desc']),
      this.request = ifNullReturnEmpty(json['request']);