Skip to content

SexInput

The biological sex assigned at birth of a participant.

Inheritance
Annotations

Constructors

SexInput.fromJson

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

SexInput

SexInput({
  1. required Sex 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

Sex value
getter/setter pair

Biological sex of a participant.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.