jsonToMap property

Map<String, dynamic> get jsonToMap

json to map

Implementation

Map<String, dynamic> get jsonToMap {
  if (this.isEmptyJson) {
    return new HashMap<String, dynamic>();
  }
  try {
    return json.decode(this ?? "");
  } catch (e) {
    return new HashMap<String, dynamic>();
  }
}