isIdentity function

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

Returns true if object is Identity, otherwise false.

Implementation

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

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