factory Point3d.fromMap(Map<Object?, Object?> map) { return Point3d( x: map['x'] as double, y: map['y'] as double, z: map['z'] as double, ); }