Point.fromJson constructor

Point.fromJson(
  1. Map<String, dynamic> json
)

Parses a Point from TDLib JSON.

Implementation

factory Point.fromJson(Map<String, dynamic> json) =>
    Point(x: _readDouble(json['x']), y: _readDouble(json['y']));