data property

T? get data

Implementation

T? get data {
  if (this is SuccessStatus<T>) {
    final success = this as SuccessStatus<T>;
    return success.data;
  }
  return null;
}