apiExceptionTemplate function
Implementation
String apiExceptionTemplate() {
return '''
class ApiException implements Exception {
final String message;
ApiException(this.message);
@override
String toString() => message;
}
''';
}
String apiExceptionTemplate() {
return '''
class ApiException implements Exception {
final String message;
ApiException(this.message);
@override
String toString() => message;
}
''';
}