newFile method

File newFile(
  1. String path,
  2. String content, [
  3. @Deprecated('This parameter is not used and will be removed') int? stamp
])

Implementation

File newFile(
  String path,
  String content, [
  @Deprecated('This parameter is not used and will be removed') int? stamp,
]) {
  var bytes = utf8.encode(content) as Uint8List;
  // ignore: deprecated_member_use_from_same_package
  return newFileWithBytes(path, bytes, stamp);
}