get method

String? get(
  1. String parameter
)

Allow retrieving configuration and autogenerated fields in runtime.

Implementation

String? get(String parameter) {
  switch (parameter) {
    case 'realm':
      return _configuration!.realm;

    case 'ha1':
      return _configuration!.ha1;

    default:
      logger.error('get() | cannot get "$parameter" parameter in runtime');

      return null;
  }
}