RefundCountersignedEvent.fromMap constructor
RefundCountersignedEvent.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RefundCountersignedEvent.fromMap(Map<String, dynamic> map) {
return RefundCountersignedEvent(
channelId: map['channelId'] as String,
serverSignatureHex: map['serverSignatureHex'] as String,
eventId: map['eventId'] as String?,
timestamp: ChannelEvent._parseTimestamp(map['timestamp']),
version: map['version'] as int?,
metadata: map['metadata'] as Map<String, dynamic>?,
);
}