buildDefinitionForMethod method

  1. @override
FutureOr<void> buildDefinitionForMethod(
  1. MethodDeclaration method,
  2. FunctionDefinitionBuilder builder
)

Implementation

@override
FutureOr<void> buildDefinitionForMethod(MethodDeclaration method, FunctionDefinitionBuilder builder) async {
  return _buildMethod('POST', path, method, builder, contentType: 'multipart/form-data');
}