Skip to content

Commit

Permalink
remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar committed Jun 21, 2023
1 parent 790c6fd commit b73f6f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/dart/lib/src/input_file.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ class InputFile {
@Deprecated('Use `InputFile.fromPath` or `InputFile.fromBytes` instead.')
InputFile({this.path, this.filename, this.contentType, this.bytes}) {
if (path == null && bytes == null) {
throw {{ spec.title | caseUcfirst }}Exception('One of `path` or `bytes` is required');
throw {{ spec.title | caseUcfirst }}Exception('One of `path` or `bytes` is required');
}
}

InputFile._({this.path, this.filename, this.contentType, this.bytes}) {
if (path == null && bytes == null) {
throw {{ spec.title | caseUcfirst }}Exception('One of `path` or `bytes` is required');
throw {{ spec.title | caseUcfirst }}Exception('One of `path` or `bytes` is required');
}
}

Expand Down

0 comments on commit b73f6f7

Please sign in to comment.