MissionStep.fromJson constructor

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

Implementation

factory MissionStep.fromJson(Map<String, Object?> json) => MissionStep(
  id: json['id'] as String,
  command: json['command'] as String,
  phase: json['phase'] as String,
  description: json['description'] as String?,
  timeoutSeconds: json['timeoutSeconds'] as int?,
);