fromData static method

Channel fromData(
  1. ChannelDataArgs data
)

Implementation

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