fromData static method

Plan fromData(
  1. PlanCommonArgs data
)

Implementation

static Plan fromData(PlanCommonArgs data) {
  return Plan(
      data.name!,
      TerraStringExtensions.getISODateTimeFromString(data.time!),
      data.height!,
      data.info!,
      data.upgraded_client_state!);
}