AuditRecordAuthor.fromJson constructor
Implementation
factory AuditRecordAuthor.fromJson(Map<String, Object?> json) {
return AuditRecordAuthor(
type: AuditRecordAuthorType.fromValue(json[r'type'] as String? ?? ''),
displayName: json[r'displayName'] as String? ?? '',
operations: json[r'operations'] as Map<String, Object?>? ?? {},
username: json[r'username'] as String?,
userKey: json[r'userKey'] as String?,
accountId: json[r'accountId'] as String?,
accountType: json[r'accountType'] as String?,
externalCollaborator: json[r'externalCollaborator'] as bool? ?? false,
isExternalCollaborator: json[r'isExternalCollaborator'] as bool? ?? false,
publicName: json[r'publicName'] as String?,
);
}