ArCorePlane.fromMap constructor

ArCorePlane.fromMap(
  1. Map map
)

Implementation

ArCorePlane.fromMap(Map<dynamic, dynamic> map) {
  this.extendX = map["extendX"];
  this.extendZ = map["extendZ"];
  this.centerPose = ArCorePose.fromMap(map["centerPose"]);
  this.type = ArCorePlaneType.values[map["type"] ?? 0];
}