fromAmino static method

Entry fromAmino(
  1. EntryAminoArgs data
)

Implementation

static Entry fromAmino(EntryAminoArgs 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!));
}