isAccount function

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

Returns true if object is Account, otherwise false.

Implementation

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

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