$ClassificationCategory.fromJson constructor

$ClassificationCategory.fromJson(
  1. Map json_
)

Implementation

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