Identifier.fromJson constructor
Creates a Identifier object from a JSON representation.
Factory constructor that creates a Identifier based on the
information given by json
.
Implementation
factory Identifier.fromJson(Map<String, dynamic> json) {
return Identifier(ble: json['ble'] as String, wifi: json['wifi'] as String);
}