toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final types = this.types;
  final vpcEndpointIds = this.vpcEndpointIds;
  return {
    if (types != null) 'types': types.map((e) => e.toValue()).toList(),
    if (vpcEndpointIds != null) 'vpcEndpointIds': vpcEndpointIds,
  };
}