toForm method

  1. @override
List<MBMultipartForm>? toForm()
override

Converts the element to an array of MBMultipartForm representing it.

Implementation

@override
List<MBMultipartForm>? toForm() {
  List<MBMultipartForm> form = [];
  String jsonEncodedUUIds = json.encode(uuIds);
  form.add(MBMultipartForm.name(parameterName, jsonEncodedUUIds));
  return form;
}