InputStoryAreas.fromJson constructor

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

Parses a InputStoryAreas from TDLib JSON.

Implementation

factory InputStoryAreas.fromJson(Map<String, dynamic> json) =>
    InputStoryAreas(
      areas: _readList<InputStoryArea>(
        json['areas'],
        (e) => _readObject(e, InputStoryArea.fromJson),
      ),
    );