BuilderUtility class Null safety

A utility to run .build() on internal functions

Constructors

BuilderUtility()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

build<T extends Builder>(T builder) RawApiMap
Allows to build any object which implements Builder
buildRawAllowedMentions(AllowedMentions mentions) RawApiMap
Build the data from AllowedMentions
buildRawEmbed(EmbedBuilder embed) RawApiMap
Build the data from an EmbedBuilder
buildWithClient<T extends BuilderWithClient>(T builder, INyxx client) RawApiMap
Allows to build any object which implements BuilderWithClient