isInfo function

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

Returns true if object is Info, otherwise false.

Implementation

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

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