Template class

Constructors

Template({required String code, required String name, String? description, required int usageCount, required String creatorId, required User creator, required String createdAt, required String updatedAt, required String sourceGuildId, required Guild serializedSourceGuild, required bool? isDirty})

Properties

code String
final
createdAt String
final
creator User
final
creatorId String
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
isDirty bool?
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializedSourceGuild Guild
final
sourceGuildId String
final
updatedAt String
final
usageCount int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
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) Template