isLabels function

bool isLabels(
  1. Map<String, dynamic>? object
)

Returns true if object is Labels, otherwise false.

Implementation

bool isLabels(final Map<String, dynamic>? object) {
  if (object == null) return false;
  if (object['t'] == null) return false;

  return object['t'] == '#labels';
}