Skip to content

CustomInput

Custom input data as requested by a researcher, of type InputType.CUSTOM.

Inheritance
Annotations

Constructors

CustomInput.fromJson

CustomInput.fromJson(
  1. Map<String, dynamic> json
)

CustomInput

CustomInput({
  1. dynamic value,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

type

String get type
override

The type of this input data.

value

dynamic value
getter/setter pair

Any serializable value.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.