data method

T? data()

Implementation

T? data() {
  if (ref.converter != null) {
    return ref.converter!.fromFirestore(this, null);
  } else {
    return _data as T;
  }
}