ActivityDefinition class

Constructors

ActivityDefinition({Map<String, dynamic>? name, Map<String, dynamic>? description, dynamic type, dynamic moreInfo, Extensions? extensions, InteractionType? interactionType, List<String>? correctResponsesPattern, List<InteractionComponent>? choices, List<InteractionComponent>? scale, List<InteractionComponent>? source, List<InteractionComponent>? target, List<InteractionComponent>? steps})
Examples: https://registry.tincanapi.com/#home/activityTypes

Properties

choices List<InteractionComponent>?
final
correctResponsesPattern List<String>?
final
description Map<String, dynamic>?
final
extensions Extensions?
final
hashCode int
The hash code for this object.
no setterinherited
interactionType InteractionType?
final
moreInfo → ValidatedUri?
final
name Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale List<InteractionComponent>?
final
source List<InteractionComponent>?
final
steps List<InteractionComponent>?
final
target List<InteractionComponent>?
final
type → ValidatedUri?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({Version? version}) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) ActivityDefinition?