BackgroundTypeFill.fromJson constructor

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

Parses a BackgroundTypeFill from TDLib JSON.

Implementation

factory BackgroundTypeFill.fromJson(Map<String, dynamic> json) =>
    BackgroundTypeFill(
      fill: _readObject(json['fill'], BackgroundFill.fromJson),
    );