toJson method

Map<String, dynamic> toJson()

Implementation

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