toJson method
Implementation
Map<String, dynamic> toJson() {
final attachments = this.attachments;
final createTime = this.createTime;
final encrypted = this.encrypted;
final kmsKeyId = this.kmsKeyId;
final size = this.size;
final snapshotId = this.snapshotId;
final status = this.status;
return {
if (attachments != null) 'Attachments': attachments,
if (createTime != null) 'CreateTime': createTime,
if (encrypted != null) 'Encrypted': encrypted,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (size != null) 'Size': size,
if (snapshotId != null) 'SnapshotId': snapshotId,
if (status != null) 'Status': status,
};
}