toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final endpointType = this.endpointType;
  final vpceId = this.vpceId;
  return {
    'EndpointType': endpointType.toValue(),
    if (vpceId != null) 'VpceId': vpceId,
  };
}