PushMessageContentChatSetBackground.fromJson constructor

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

Parses a PushMessageContentChatSetBackground from TDLib JSON.

Implementation

factory PushMessageContentChatSetBackground.fromJson(
        Map<String, dynamic> json) =>
    PushMessageContentChatSetBackground(
      isSame: _readBool(json['is_same']),
    );