Property.fromJson constructor
Implementation
Property.fromJson(String parentId, Map<String, dynamic> json)
: this.parentId = parentId,
id = json['id'].toString(),
name = ifNullReturnEmpty(json['name']),
settable = json['settable'] == true,
retained = json['retained'] == true,
unit = ifNullReturnEmpty(json['unit']),
datatype = ifNullReturnEmpty(json['datatype']),
format = ifNullReturnEmpty(json['format']);