Prepare packages (minus tools,framework) for use_super_parameters (#100510)

This commit is contained in:
Michael Goderbauer
2022-03-30 15:31:59 -07:00
committed by GitHub
parent ca2d60e8e2
commit 3e406c6781
37 changed files with 147 additions and 183 deletions

View File

@@ -5,13 +5,12 @@
import 'package:flutter_driver/flutter_driver.dart';
class StubNestedCommand extends CommandWithTarget {
StubNestedCommand(SerializableFinder finder, this.times, {Duration? timeout})
: super(finder, timeout: timeout);
StubNestedCommand(super.finder, this.times, {super.timeout});
StubNestedCommand.deserialize(
Map<String, String> json, DeserializeFinderFactory finderFactory)
super.json, super.finderFactory)
: times = int.parse(json['times']!),
super.deserialize(json, finderFactory);
super.deserialize();
@override
Map<String, String> serialize() {
@@ -25,12 +24,11 @@ class StubNestedCommand extends CommandWithTarget {
}
class StubProberCommand extends CommandWithTarget {
StubProberCommand(SerializableFinder finder, this.times, {Duration? timeout})
: super(finder, timeout: timeout);
StubProberCommand(super.finder, this.times, {super.timeout});
StubProberCommand.deserialize(Map<String, String> json, DeserializeFinderFactory finderFactory)
StubProberCommand.deserialize(super.json, super.finderFactory)
: times = int.parse(json['times']!),
super.deserialize(json, finderFactory);
super.deserialize();
@override
Map<String, String> serialize() {