CreateRobotApplicationVersionResponse.fromJson constructor
CreateRobotApplicationVersionResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateRobotApplicationVersionResponse.fromJson(
Map<String, dynamic> json) {
return CreateRobotApplicationVersionResponse(
arn: json['arn'] as String?,
lastUpdatedAt: timeStampFromJson(json['lastUpdatedAt']),
name: json['name'] as String?,
revisionId: json['revisionId'] as String?,
robotSoftwareSuite: json['robotSoftwareSuite'] != null
? RobotSoftwareSuite.fromJson(
json['robotSoftwareSuite'] as Map<String, dynamic>)
: null,
sources: (json['sources'] as List?)
?.whereNotNull()
.map((e) => Source.fromJson(e as Map<String, dynamic>))
.toList(),
version: json['version'] as String?,
);
}