toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (hostPort != null) 'hostPort': hostPort!,
      if (referenceId != null) 'referenceId': referenceId!,
      if (sourceType != null) 'sourceType': sourceType!,
    };