AuditRecordCreateAuthor.fromJson constructor

AuditRecordCreateAuthor.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory AuditRecordCreateAuthor.fromJson(Map<String, Object?> json) {
  return AuditRecordCreateAuthor(
    type:
        AuditRecordCreateAuthorType.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?,
  );
}