ModSourceInfo class
Constructors
-
ModSourceInfo({required String uuid, required String namespace, String? modUUID, List<
String> ? patchouliAddons}) -
const
- ModSourceInfo.fromJson(String source)
-
factory
-
ModSourceInfo.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
mod
→ Future<
MinecraftMod?> -
no setter
- modUUID → String?
-
UUID of the MinecraftMod, can be null.
final
- namespace → String
-
Namespace of the mod
final
-
patchouliAddons
→ List<
String> ? -
Used to store specially formatted SourceText in patchouli manuals.
final
-
patchouliAddonTexts
→ Future<
List< SourceText> ?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
final
Methods
-
copyWith(
{String? uuid, String? namespace, String? modUUID, List< String> ? patchouliAddons}) → ModSourceInfo -
getFiles(
{int limit = 50, int skip = 0}) → Future< ListModelResponse< SourceFile> > - SourceFile files included in this mod.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
getByMod(
MinecraftMod mod) → Future< ModSourceInfo?> -
getByNamespace(
String namespace) → Future< ModSourceInfo?> -
getByUUID(
String uuid) → Future< ModSourceInfo>