getData method

T? getData()

获取存储的数据 返回存储的数据,可能为 null

Implementation

T? getData() {
  return data;
}