fromModels static method
Implementation
static ApiUserModel fromModels(
ApiKeyModel apiKeyModel,
ApiHashModel apiHashModel,
) {
return ApiUserModel(
name: apiKeyModel.name,
apiKey: apiKeyModel.apiKey,
createdAt: apiKeyModel.createdAt,
expireAfter: apiKeyModel.expireAfter,
hash: apiHashModel.apiHash,
active: apiHashModel.active,
secretKeyEncrypted: apiHashModel.apiSecretEncrypted,
);
}