FileRes.fromJson constructor

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

Implementation

FileRes.fromJson(Map<String, dynamic> json) {
  this.superFromJson(json);
  this.url = this.isDataVali() ? json['url'] : null;
}