ScanInfo.fromMap constructor Null safety

ScanInfo.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory ScanInfo.fromMap(Map<String, dynamic> json) => ScanInfo(
      averageAttenuation: json["mAverageAttenuation"],
      minimumAttenuation: json["mMinimumAttenuation"],
      secondsSinceLastScan: json["mSecondsSinceLastScan"],
    );