BitlyException.fromJson constructor
Implementation
BitlyException.fromJson(Map<String, dynamic> json) {
message = json['message'];
description = json['description'];
resource = json['resource'];
if (json['errors'] != null) {
errors = <Errors>[];
json['errors'].forEach((v) {
errors!.add(Errors.fromJson(v));
});
}
}