path property Null safety

String? path

Implementation

String? get path {
  if (kIsWeb) {
    /// https://github.com/miguelpruivo/flutter_file_picker/issues/751
    throw '''
    On web `path` is always `null`,
    You should access `bytes` property instead,
    Read more about it [here](https://github.com/miguelpruivo/flutter_file_picker/wiki/FAQ)
    ''';
  }
  return _path;
}