get method

  1. @override
Object? get(
  1. Token name
)
override

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case 'writeAsStringSync':
      return _file.writeAsStringSync;
    case 'writeAsBytesSync':
      return _file.writeAsBytesSync;
    case 'writeAsString':
      return _file.writeAsString;
    case 'writeAsBytes':
      return _file.writeAsBytes;
    case 'path':
      return _file.path;
  }
}