NexusSurveyQuestion class

Constructors

NexusSurveyQuestion({required String id, required String type, required String label, String? description, bool required = false, List<NexusSurveyChoice> choices = const [], String? display, int? scaleMin, int? scaleMax, String? lowerLabel, String? upperLabel, String? buttonText, String? buttonUrl})
const

Properties

buttonText → String?
final
buttonUrl → String?
final
choices → List<NexusSurveyChoice>
final
description → String?
final
display → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isMultiSelect → bool
no setter
label → String
final
lowerLabel → String?
final
required → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleMax → int?
final
scaleMin → int?
final
type → String
open | single_choice | multiple_choice | rating | nps | boolean | link | email
final
upperLabel → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> m) → NexusSurveyQuestion