toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final collectionName = this.collectionName;
  final collectionParameters = this.collectionParameters;
  return {
    if (collectionName != null) 'CollectionName': collectionName,
    if (collectionParameters != null)
      'CollectionParameters': collectionParameters,
  };
}