Refer.fromMap constructor

Refer.fromMap(
  1. Map map
)

fromMap

Implementation

Refer.fromMap(Map<dynamic, dynamic> map) {
  if (map.containsKey("sourcesList")) sources = List.from(map["sourcesList"]);
  if (map.containsKey("licenseList")) license = List.from(map["licenseList"]);
}