Beacon.fromJson constructor

Beacon.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Beacon.fromJson(Map<String, Object?> json) => Beacon(
      proximityUUID: json['proximityUUID'] as String,
      major: json['major'] as double?,
      minor: json['minor'] as double?,
      relevantText: json['relevantText'] as String?,
    );