Agent class

Annotations
  • @JsonSerializable()

Constructors

Agent(String uuid, String displayName, String description, String developerName, List<String>? characterTags, String displayIcon, String? bustPortrait, String? fullPortrait, String assetPath, bool isFullPortraitRightFacing, bool isPlayableCharacter, bool isAvailableForTest, AgentRole? role, List<AgentAbility> abilities)
const
Agent.fromJson(Map<String, dynamic> json)
factory

Properties

abilities List<AgentAbility>
final
assetPath String
final
bustPortrait String?
final
characterTags List<String>?
final
description String
final
developerName String
final
displayIcon String
final
displayName String
final
fullPortrait String?
final
hashCode int
The hash code for this object.
no setterinherited
isAvailableForTest bool
final
isFullPortraitRightFacing bool
final
isPlayableCharacter bool
final
role AgentRole?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid 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