toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (diskLimitMib != null) 'diskLimitMib': diskLimitMib!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (stateDetails != null) 'stateDetails': stateDetails!,
      if (target != null) 'target': target!,
      if (type != null) 'type': type!,
    };