-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbugsee_configuration_data.dart
More file actions
59 lines (50 loc) · 1.94 KB
/
bugsee_configuration_data.dart
File metadata and controls
59 lines (50 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import 'package:equatable/equatable.dart';
final class BugseeConfigurationData extends Equatable {
/// Gets whether the Bugsee SDK is enabled or not. if [Null] it fallbacks to a new installed app so it will be enabled.
final bool? isBugseeEnabled;
/// Indicates whether the video capturing feature in Bugsee is enabled or not.
final bool? isVideoCaptureEnabled;
/// Indicates whether Bugsee obscures application data in videos and images or not.
final bool? isDataObscured;
/// Indicates whether logs are collected or not.
final bool? isLogCollectionEnabled;
/// Indicates whether logs are filtred during reports or not.
final bool? isLogsFilterEnabled;
/// Indicates whether attaching file in the Bugsee report is enabled or not
final bool? attachLogFileEnabled;
const BugseeConfigurationData({
this.isBugseeEnabled,
this.isVideoCaptureEnabled,
this.isDataObscured,
this.isLogCollectionEnabled,
this.isLogsFilterEnabled,
this.attachLogFileEnabled,
});
BugseeConfigurationData copyWith({
bool? isBugseeEnabled,
bool? isVideoCaptureEnabled,
bool? isDataObscured,
bool? isLogCollectionEnabled,
bool? isLogsFilterEnabled,
bool? attachLogFileEnabled,
}) =>
BugseeConfigurationData(
isBugseeEnabled: isBugseeEnabled ?? this.isBugseeEnabled,
isVideoCaptureEnabled:
isVideoCaptureEnabled ?? this.isVideoCaptureEnabled,
isDataObscured: isDataObscured ?? this.isDataObscured,
isLogCollectionEnabled:
isLogCollectionEnabled ?? this.isLogCollectionEnabled,
isLogsFilterEnabled: isLogsFilterEnabled ?? this.isLogsFilterEnabled,
attachLogFileEnabled: attachLogFileEnabled ?? this.attachLogFileEnabled,
);
@override
List<Object?> get props => [
isBugseeEnabled,
isVideoCaptureEnabled,
isDataObscured,
isLogCollectionEnabled,
isLogsFilterEnabled,
attachLogFileEnabled,
];
}