DeploymentEvent.fromJson constructor

DeploymentEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DeploymentEvent.fromJson(Map<String, dynamic> json) {
  return DeploymentEvent(
    description: json['Description'] as String?,
    eventType: (json['EventType'] as String?)?.toDeploymentEventType(),
    occurredAt: timeStampFromJson(json['OccurredAt']),
    triggeredBy: (json['TriggeredBy'] as String?)?.toTriggeredBy(),
  );
}