factory BackgroundWorkActive.fromJson(Map<String, dynamic> json) => BackgroundWorkActive( isActive: (json['IsActive'] as bool?) ?? false, );