Radios.fromJson constructor

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

Implementation

factory Radios.fromJson(Map<String, dynamic> json) {
  return Radios(
    bluetooth: json['bluetooth'] as bool?,
    gps: json['gps'] as bool?,
    nfc: json['nfc'] as bool?,
    wifi: json['wifi'] as bool?,
  );
}