newFile method
File
newFile(
- String path,
- String content, [
- @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);
}