InteractionAffordance class sealed

Base class for Interaction Affordances (Properties, Actions, and Events).

Implementers
Annotations
  • @immutable

Constructors

InteractionAffordance({String? title, Map<String, String>? titles, String? description, Map<String, String>? descriptions, Map<String, Object>? uriVariables, required List<Form> forms, Map<String, dynamic>? additionalFields})
Creates a new InteractionAffordance. Accepts a List of forms.
const

Properties

additionalFields Map<String, dynamic>?
Additional fields that could not be deserialized as class members.
final
description String?
The default description of this InteractionAffordance.
final
descriptions Map<String, String>?
Multilanguage descriptions of this InteractionAffordance.
final
forms List<Form>
The basic forms which can be used for interacting with this resource.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The default title of this InteractionAffordance.
final
titles Map<String, String>?
Multilanguage titles of this InteractionAffordance.
final
uriVariables Map<String, Object>?
URI template variables as defined in RFC 6570.
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