isPublic property Null safety

bool isPublic

Whether or not this is a public or confidential client.

Public clients do not have a client secret and are used for clients that can't store their secret confidentially, i.e. JavaScript browser applications.

Implementation

bool get isPublic => hashedSecret == null;