isBot method Null safety

bool isBot()

Returns whether of this is a bot

Example :

print(member.isBot());

Implementation

bool isBot () => user.bot;