hasFiles property

bool hasFiles

Returns true if the post(or comment) has any file.

Implementation

bool get hasFiles {
  return files!.isNotEmpty;
}