UpdateSelectedBackground.fromJson constructor

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

Parse from a json

Implementation

factory UpdateSelectedBackground.fromJson(Map<String, dynamic> json) => UpdateSelectedBackground(
  forDarkTheme: json['for_dark_theme'],
  background: json['background'] == null ? null : Background.fromJson(json['background']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);