AuditLog.fromJson constructor
AuditLog.fromJson(
- Map<String, dynamic> json
)
Implementation
AuditLog.fromJson(Map<String, dynamic> json)
: tenantId = TenantId.fromJson(json['tenantId']),
customerId = json['customerId'] != null
? CustomerId.fromJson(json['customerId'])
: null,
entityId = EntityId.fromJson(json['entityId']),
entityName = json['entityName'],
userId = UserId.fromJson(json['userId']),
userName = json['userName'],
actionType = actionTypeFromString(json['actionType']),
actionData = json['actionData'],
actionStatus = actionStatusFromString(json['actionStatus']),
actionFailureDetails = json['actionFailureDetails'],
super.fromJson(json, (id) => AuditLogId(id));