CreateRobotResponse.fromJson constructor
CreateRobotResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateRobotResponse.fromJson(Map<String, dynamic> json) {
return CreateRobotResponse(
architecture: (json['architecture'] as String?)?.toArchitecture(),
arn: json['arn'] as String?,
createdAt: timeStampFromJson(json['createdAt']),
greengrassGroupId: json['greengrassGroupId'] as String?,
name: json['name'] as String?,
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}