isReadOnly property
bool
get
isReadOnly
Whether this function is read-only (view or pure).
Implementation
bool get isReadOnly => stateMutability == 'view' || stateMutability == 'pure';
Whether this function is read-only (view or pure).
bool get isReadOnly => stateMutability == 'view' || stateMutability == 'pure';