Form constructor
Form(
- Uri href, {
- String contentType = _defaultContentType,
- String? contentCoding,
- String? subprotocol,
- List<
String> ? security, - List<
OperationType> ? op, - List<
String> ? scopes, - ExpectedResponse? response,
- List<
AdditionalExpectedResponse> ? additionalResponses, - Map<
String, dynamic> ? additionalFields,
Creates a new Form object.
An href
has to be provided. A contentType
is optional.
Implementation
Form(
this.href, {
this.contentType = _defaultContentType,
this.contentCoding,
this.subprotocol,
this.security,
this.op,
this.scopes,
this.response,
this.additionalResponses,
Map<String, dynamic>? additionalFields,
}) {
if (additionalFields != null) {
this.additionalFields.addAll(additionalFields);
}
}