SettingsRow.fromJson constructor
Implementation
factory SettingsRow.fromJson(Map<String, dynamic> json,
{ValueSerializer? serializer}) {
serializer ??= driftRuntimeOptions.defaultSerializer;
return SettingsRow(
userId: serializer.fromJson<String?>(json['userId']),
enablePopups: serializer.fromJson<bool?>(json['enablePopups']),
locale: serializer.fromJson<String?>(json['locale']),
showIntroduction: serializer.fromJson<bool?>(json['showIntroduction']),
sideBarWidth: serializer.fromJson<double?>(json['sideBarWidth']),
callButtons: serializer.fromJson<String>(json['callButtons']),
pinnedActions: serializer.fromJson<String>(json['pinnedActions']),
callButtonsPosition:
serializer.fromJson<String?>(json['callButtonsPosition']),
workWithUsTabEnabled:
serializer.fromJson<bool?>(json['workWithUsTabEnabled']),
videoDevice: serializer.fromJson<String?>(json['videoDevice']),
audioDevice: serializer.fromJson<String?>(json['audioDevice']),
outputDevice: serializer.fromJson<String?>(json['outputDevice']),
screenDevice: serializer.fromJson<String?>(json['screenDevice']),
muteKeys: serializer.fromJson<String?>(json['muteKeys']),
);
}