DetectedBehavior.fromMap constructor

DetectedBehavior.fromMap(
  1. Map jsonMap
)

Implementation

factory DetectedBehavior.fromMap(Map<dynamic, dynamic> jsonMap) =>
    DetectedBehavior(
      confidence: jsonMap[Param.confidence] == null
          ? null
          : jsonMap[Param.confidence],
      type: jsonMap[Param.type] == null ? null : jsonMap[Param.type],
    );