attributes property

Map<String, String> attributes

Implementation

Map<String, String> get attributes {
  final result = <String, String>{};
  _propertiesTypes.forEach((key, value) {
    if (value == 'STRING') {
      result[key] = _properties[key] as String;
    } else if (value == 'BOOL') {
      result[key] = _properties[key].toString();
    }
  });
  return result;
}