DetectorStateSummary.fromJson constructor

DetectorStateSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DetectorStateSummary.fromJson(Map<String, dynamic> json) {
  return DetectorStateSummary(
    stateName: json['stateName'] as String?,
  );
}