toJson method

Map<String, dynamic> toJson()

Implementation

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