StatusUpdateProject.fromJson constructor

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

Implementation

StatusUpdateProject.fromJson(Map<String, dynamic> json)
    : this.type = Convert.toStr(json['type'], ''),
      this.id = Convert.toStr(json['id'], ''),
      this.name = Convert.toStr(json['name'], ''),
      this.symbol = Convert.toStrN(json['symbol']),
      this.image = json.containsKey('image')
          ? ImageInfo.fromJson(json['image'])
          : null;