apiExceptionTemplate function

String apiExceptionTemplate()

Implementation

String apiExceptionTemplate() {
  return '''
class ApiException implements Exception {

  final String message;

  ApiException(this.message);

  @override
  String toString() => message;

}
''';
}