hasData static method

bool hasData(
  1. Resource? resource
)

Implementation

static bool hasData(Resource? resource) => resource?.exists() ?? false;