fromJson static method
Implementation
static AvatarAuthResultServiceInfo fromJson(Map<String, dynamic> json) {
AvatarClipConfig? resultClipConfig = AvatarClipConfig(
rotate: json["rotate"],
widthScale: json["widthScale"],
heightScale: json["heightScale"],
xscale: json["xscale"],
yscale: json["yscale"],
);
return AvatarAuthResultServiceInfo(
avatarUrl: json["avatar"],
resultToken: json["token"],
resultClipConfig: resultClipConfig,
);
}