identity property

Identity? get identity

Implementation

Identity? get identity => isIdentity ? data as Identity : null;