toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (configs != null) 'configs': configs!,
  if (name != null) 'name': name!,
  if (partitionCount != null) 'partitionCount': partitionCount!,
  if (replicationFactor != null) 'replicationFactor': replicationFactor!,
};