toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final snapshotIdentifier = this.snapshotIdentifier;
  final snapshotClusterIdentifier = this.snapshotClusterIdentifier;
  return {
    'SnapshotIdentifier': snapshotIdentifier,
    if (snapshotClusterIdentifier != null)
      'SnapshotClusterIdentifier': snapshotClusterIdentifier,
  };
}