PermissionConfiguration.fromJson constructor

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

Implementation

factory PermissionConfiguration.fromJson(Map<String, dynamic> json) {
  return PermissionConfiguration(
    accountLevelPermissions: json['accountLevelPermissions'] != null
        ? AccountLevelPermissions.fromJson(
            json['accountLevelPermissions'] as Map<String, dynamic>)
        : null,
    bucketLevelPermissions: json['bucketLevelPermissions'] != null
        ? BucketLevelPermissions.fromJson(
            json['bucketLevelPermissions'] as Map<String, dynamic>)
        : null,
  );
}