toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.clusterId != null) {
    json[r'clusterId'] = this.clusterId;
  } else {
    json[r'clusterId'] = null;
  }
  if (this.count != null) {
    json[r'count'] = this.count;
  } else {
    json[r'count'] = null;
  }
  if (this.poolId != null) {
    json[r'poolId'] = this.poolId;
  } else {
    json[r'poolId'] = null;
  }
  if (this.provider != null) {
    json[r'provider'] = this.provider;
  } else {
    json[r'provider'] = null;
  }
  return json;
}