FlutsterTestRecord constructor
FlutsterTestRecord({})
FlutsterTestRecord takes parameters described as fields of the class.
Implementation
FlutsterTestRecord({
String? testName,
this.firstRecordingStart,
List<FlutsterTestEvent>? events,
this.apiUrl = "https://flutster.com",
this.apiUser,
this.apiKey,
this.active = true,
}) {
assert(
(apiUser == null && apiKey == null) ||
(apiUser != null && apiKey != null),
"apiUrl, apiUser and apiKey must be given together to work");
if (testName != null) {
this.testName = testName;
}
if (events != null) {
this.events = events;
}
}