fromJson static method
Returns a new OnboardingResponse instance and imports
Implementation
// ignore: prefer_constructors_over_static_methods
static OnboardingResponse fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return OnboardingResponse(
user: json[r'user'] == null ? null : UserResponse.fromJson(json[r'user']),
org: json[r'org'] == null ? null : Organization.fromJson(json[r'org']),
bucket: json[r'bucket'] == null ? null : Bucket.fromJson(json[r'bucket']),
auth:
json[r'auth'] == null ? null : Authorization.fromJson(json[r'auth']),
);
}