BackgroundFillSolid.fromJson constructor

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

Parses a BackgroundFillSolid from TDLib JSON.

Implementation

factory BackgroundFillSolid.fromJson(Map<String, dynamic> json) =>
    BackgroundFillSolid(
      color: _readInt(json['color']),
    );