MBUploadableRelationElement class

An uploadable element representing a relation between sections.

Inheritance

Constructors

MBUploadableRelationElement(String localeIdentifier, String elementName, {required List<int> sectionIds})
Initializes a relation element with a locale identifier, a name and the ids of the sections selected.

Properties

elementName → String
The name/key of the element.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
localeIdentifier → String
The locale of the element. This is needed to construct the parameter name.
finalinherited
parameterName → String
The name of the element, used when the element will be passed to the api.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionIds → List<int>
The ids of the sections of the element.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toForm() → List<MBMultipartForm>?
Converts the element to an array of MBMultipartForm representing it.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited