isValid property Null safety

bool isValid

Implementation

bool get isValid {
  return pointer != null && bytes != null && pointer!.address != nullptr.address;
}