toJson method

Map<String, dynamic> toJson()

Implementation

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