modeAsInt property

int get modeAsInt

Converts the octal mode string to its integer representation.

This getter automatically converts Unix-style permission strings to their decimal integer equivalent.

Example:

final config = LMDBInitConfig(mode: '644');
print(config.modeAsInt); // Prints: 438

Implementation

int get modeAsInt => _parseOctalString(mode);