ArtifactSerializeExt extension

Extension that adds serialization and display methods to Artifact.

on

Properties

matchingCharacterDescription String

Available on Artifact, provided by the ArtifactSerializeExt extension

Returns a human-readable description of the matching character.
no setter

Methods

gridToString({bool forCode = false, String onChar = '#', String offChar = '.'}) String

Available on Artifact, provided by the ArtifactSerializeExt extension

Converts the matrix to a string representation.
gridToStrings({String onChar = '#', String offChar = '.'}) List<String>

Available on Artifact, provided by the ArtifactSerializeExt extension

Converts the matrix to a list of strings.
toJson() Map<String, dynamic>

Available on Artifact, provided by the ArtifactSerializeExt extension

Converts the Artifact object to a JSON-serializable Map.
toText({String onChar = '#', bool forCode = false}) String

Available on Artifact, provided by the ArtifactSerializeExt extension

Converts the matrix to a text representation.