toJson method
Implementation
Map<String, dynamic> toJson() {
final attachTime = this.attachTime;
final deleteOnTermination = this.deleteOnTermination;
final instanceId = this.instanceId;
final status = this.status;
return {
if (attachTime != null) 'AttachTime': attachTime,
if (deleteOnTermination != null)
'DeleteOnTermination': deleteOnTermination,
if (instanceId != null) 'InstanceId': instanceId,
if (status != null) 'Status': status,
};
}