DetectItemModel constructor

const DetectItemModel({
  1. double? confidence,
  2. bool? isReliable,
  3. String? language,
})

Implementation

const factory DetectItemModel({
  /// The confidence of the detection result of this language.
  double? confidence,

  /// A boolean to indicate is the language detection result reliable.
  bool? isReliable,

  /// The language we detected.
  String? language,
}) = _DetectItemModel;