fromData static method

Entry fromData(
  1. EntryDataArgs data
)

Implementation

static Entry fromData(EntryDataArgs data) {
  return Entry(
      int.parse(data.redelegation_Entry!.initial_Balance!),
      int.parse(data.balance!),
      double.parse(data.redelegation_Entry!.shares_Dst!),
      double.parse(data.redelegation_Entry!.creation_Height!),
      TerraStringExtensions.getISODateTimeFromString(
          data.redelegation_Entry!.completion_Time!));
}