Feature.fromJson constructor

Feature.fromJson(
  1. Map json_
)

Implementation

Feature.fromJson(core.Map json_)
    : this(
        confidence: json_.containsKey('confidence')
            ? (json_['confidence'] as core.num).toDouble()
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );