UserSetting.fromJson constructor

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

Implementation

factory UserSetting.fromJson(Map<String, dynamic> json) {
  return UserSetting(
    action: (json['Action'] as String).toAction(),
    permission: (json['Permission'] as String).toPermission(),
  );
}