isDefault property

bool get isDefault

Returns true if this is the default function of a contract, which can be called when no other functions fit to an request.

Implementation

bool get isDefault => type == ContractFunctionType.fallback;