UserWatch.fromJson constructor

UserWatch.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory UserWatch.fromJson(Map<String, Object?> json) {
  return UserWatch(
    watching: json[r'watching'] as bool? ?? false,
  );
}