toMap method

JsonMap toMap()

Implementation

JsonMap toMap() => {
      'type': type.name,
      'confidence': confidence,
    };