DescribeUserResponse.fromJson constructor

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

Implementation

factory DescribeUserResponse.fromJson(Map<String, dynamic> json) {
  return DescribeUserResponse(
    requestId: json['RequestId'] as String?,
    user: json['User'] != null
        ? User.fromJson(json['User'] as Map<String, dynamic>)
        : null,
  );
}