toMap method

dynamic toMap()

Implementation

toMap() {
  return <String, double>{
    'x': x,
    'y': y,
    'z': z,
  };
}