Prepare packages (minus tools,framework) for use_super_parameters (#100510)
This commit is contained in:
committed by
GitHub
parent
ca2d60e8e2
commit
3e406c6781
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user