DescribeLocationFsxWindowsResponse.fromJson constructor

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

Implementation

factory DescribeLocationFsxWindowsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeLocationFsxWindowsResponse(
    creationTime: timeStampFromJson(json['CreationTime']),
    domain: json['Domain'] as String?,
    locationArn: json['LocationArn'] as String?,
    locationUri: json['LocationUri'] as String?,
    securityGroupArns: (json['SecurityGroupArns'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    user: json['User'] as String?,
  );
}