toMap method

Map<String, dynamic> toMap()

Converts this occurrence to the legacy DevTools map format.

Implementation

Map<String, dynamic> toMap() => {
      'name': name,
      'direction': direction,
      'value': value,
      'width': width,
    };