DescribeMyUserProfileResult.fromJson constructor

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

Implementation

factory DescribeMyUserProfileResult.fromJson(Map<String, dynamic> json) {
  return DescribeMyUserProfileResult(
    userProfile: json['UserProfile'] != null
        ? SelfUserProfile.fromJson(
            json['UserProfile'] as Map<String, dynamic>)
        : null,
  );
}