map property

Map<String, dynamic> get map

General map representation

Implementation

Map<String, dynamic> get map => {
      'value': value,
      'unit': unit,
      'metadata': metadata,
    };