fromAmino static method

Channel fromAmino(
  1. ChannelAminoArgs data
)

Implementation

static Channel fromAmino(ChannelAminoArgs data) {
  return Channel(
      data.state!,
      data.ordering!,
      Counterparty.fromAmino(data.counterParty!),
      data.connection_hops!,
      data.version!);
}