PublicAccess.fromJson constructor

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

Implementation

factory PublicAccess.fromJson(Map<String, dynamic> json) {
  return PublicAccess(
    effectivePermission: json['effectivePermission'] as String?,
    permissionConfiguration: json['permissionConfiguration'] != null
        ? PermissionConfiguration.fromJson(
            json['permissionConfiguration'] as Map<String, dynamic>)
        : null,
  );
}