UArNodeInfo.fromMap constructor

UArNodeInfo.fromMap(
  1. Map<Object?, Object?> map
)

Implementation

factory UArNodeInfo.fromMap(Map<Object?, Object?> map) => UArNodeInfo(
  id: "${map["id"]}",
  min: UArVector3.fromList(_doubles(map["min"])),
  max: UArVector3.fromList(_doubles(map["max"])),
  animations: map["animations"] is List<Object?> ? (map["animations"]! as List<Object?>).map((Object? e) => "$e").toList(growable: false) : const <String>[],
);