Shader class Null safety

The Shader class

Inheritance
Annotations

Constructors

Shader({required String version, required Info info, required List<RenderPass> renderPasses})
Builds a Shader [...]
const
Shader.fromJson(Map<String, dynamic> json)
Creates a Shader from json map
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
info Info
The shader meta information
@JsonKey(name: 'info'), final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
renderPasses List<RenderPass>
The shader render passes
@JsonKey(name: 'renderpass'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited
version String
The shader version
@JsonKey(name: 'ver'), final

Methods

copyWith({String? version, Info? info, List<RenderPass>? renderPasses}) Shader
Builds a copy of a Shader [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Creates a json map from a Shader
toString() String
A string representation of this object. [...]
inherited

Operators

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