FunctionDetail constructor

FunctionDetail({
  1. num? avgDurationMs,
  2. String? createdAt,
  3. String? endpoint,
  4. int? envCount,
  5. String? environment,
  6. int? errors7d,
  7. String? image,
  8. int? invocations7d,
  9. String? lastDeployedAt,
  10. String? memoryLimit,
  11. String? name,
  12. String? namespace,
  13. List<InvocationView> recentInvocations = const [],
  14. List<String> secrets = const [],
  15. String? status,
  16. num? successRate,
  17. String? target,
  18. int? timeoutSec,
  19. List<TriggerView> triggers = const [],
})

Returns a new FunctionDetail instance.

Implementation

FunctionDetail({
  this.avgDurationMs,
  this.createdAt,
  this.endpoint,
  this.envCount,
  this.environment,
  this.errors7d,
  this.image,
  this.invocations7d,
  this.lastDeployedAt,
  this.memoryLimit,
  this.name,
  this.namespace,
  this.recentInvocations = const [],
  this.secrets = const [],
  this.status,
  this.successRate,
  this.target,
  this.timeoutSec,
  this.triggers = const [],
});