DescribeAppImageConfigResponse.fromJson constructor

DescribeAppImageConfigResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeAppImageConfigResponse.fromJson(Map<String, dynamic> json) {
  return DescribeAppImageConfigResponse(
    appImageConfigArn: json['AppImageConfigArn'] as String?,
    appImageConfigName: json['AppImageConfigName'] as String?,
    creationTime: timeStampFromJson(json['CreationTime']),
    kernelGatewayImageConfig: json['KernelGatewayImageConfig'] != null
        ? KernelGatewayImageConfig.fromJson(
            json['KernelGatewayImageConfig'] as Map<String, dynamic>)
        : null,
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
  );
}