toJson method

Map<String, dynamic> toJson()

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,
  };
}