toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final address = this.address;
  final connectionType = this.connectionType;
  final forwardingRule = this.forwardingRule;
  final network = this.network;
  final port = this.port;
  final projectId = this.projectId;
  final pscConnectionId = this.pscConnectionId;
  final pscConnectionStatus = this.pscConnectionStatus;
  final serviceAttachment = this.serviceAttachment;
  return {
    'address': ?address,
    'connectionType': ?connectionType,
    'forwardingRule': ?forwardingRule,
    'network': ?network,
    'port': ?port,
    'projectId': ?projectId,
    'pscConnectionId': ?pscConnectionId,
    'pscConnectionStatus': ?pscConnectionStatus,
    'serviceAttachment': ?serviceAttachment,
  };
}