toMap method
Implementation
Map<String, Object?> toMap() => <String, Object?>{
"color": color.toARGB32(),
"metallic": metallic,
"roughness": roughness,
"opacity": opacity,
"emissive": emissive?.toARGB32(),
"texture": texture?.toMap(),
"unlit": unlit,
"doubleSided": doubleSided,
"occluder": occluder,
"renderOnTop": renderOnTop,
};