FileMove method

int FileMove(
  1. String srcPath,
  2. String dstPath
)

Move file from one directory to another, dstPath created if it doesn't exist

Implementation

int FileMove(
  String srcPath,
  String dstPath,
) => run(
  () => _debugLabels.FileMove(srcPath, dstPath),
  () => _flat.FileMove(
    String$.ValueOrNull(srcPath),
    String$.ValueOrNull(dstPath),
  ),
);