Skill class

A skill resource.

Annotations
  • @immutable

Constructors

Skill({required String id, required String object, required String name, required String description, required int createdAt, required String defaultVersion, required String latestVersion})
Creates a Skill.
const
Skill.fromJson(Map<String, dynamic> json)
Creates a Skill from JSON.
factory

Properties

createdAt int
Unix timestamp for creation.
final
defaultVersion String
Default version identifier.
final
description String
Skill description.
final
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier for the skill.
final
latestVersion String
Latest version identifier.
final
name String
Skill name.
final
object String
Object type, always skill.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
inherited

Operators

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