AndroidRoboTest.fromJson constructor
AndroidRoboTest.fromJson(
- Map json_
Implementation
AndroidRoboTest.fromJson(core.Map json_)
: this(
appApk: json_.containsKey('appApk')
? FileReference.fromJson(
json_['appApk'] as core.Map<core.String, core.dynamic>)
: null,
appBundle: json_.containsKey('appBundle')
? AppBundle.fromJson(
json_['appBundle'] as core.Map<core.String, core.dynamic>)
: null,
appInitialActivity: json_.containsKey('appInitialActivity')
? json_['appInitialActivity'] as core.String
: null,
appPackageId: json_.containsKey('appPackageId')
? json_['appPackageId'] as core.String
: null,
maxDepth: json_.containsKey('maxDepth')
? json_['maxDepth'] as core.int
: null,
maxSteps: json_.containsKey('maxSteps')
? json_['maxSteps'] as core.int
: null,
roboDirectives: json_.containsKey('roboDirectives')
? (json_['roboDirectives'] as core.List)
.map((value) => RoboDirective.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
roboMode: json_.containsKey('roboMode')
? json_['roboMode'] as core.String
: null,
roboScript: json_.containsKey('roboScript')
? FileReference.fromJson(
json_['roboScript'] as core.Map<core.String, core.dynamic>)
: null,
startingIntents: json_.containsKey('startingIntents')
? (json_['startingIntents'] as core.List)
.map((value) => RoboStartingIntent.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);