toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final wirelessConnection = this.wirelessConnection;
  return {
    if (wirelessConnection != null) 'WirelessConnection': wirelessConnection,
  };
}