TMeUrl.fromJson constructor

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

Parses a TMeUrl from TDLib JSON.

Implementation

factory TMeUrl.fromJson(Map<String, dynamic> json) => TMeUrl(
      url: _readString(json['url']),
      type: _readObject(json['type'], TMeUrlType.fromJson),
    );