VideoStoryboard.fromJson constructor

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

Parses a VideoStoryboard from TDLib JSON.

Implementation

factory VideoStoryboard.fromJson(Map<String, dynamic> json) =>
    VideoStoryboard(
      storyboardFile: _readObject(json['storyboard_file'], File.fromJson),
      width: _readInt(json['width']),
      height: _readInt(json['height']),
      mapFile: _readObject(json['map_file'], File.fromJson),
    );