toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FileExistsBehavior.disallow:
      return 'DISALLOW';
    case FileExistsBehavior.overwrite:
      return 'OVERWRITE';
    case FileExistsBehavior.retain:
      return 'RETAIN';
  }
}