Match.fromDto constructor

Match.fromDto(
  1. Match dto
)

Implementation

factory Match.fromDto(api.Match dto) => Match.realtime(
      matchId: dto.matchId,
      authoritative: dto.authoritative,
      handlerName: dto.handlerName,
      label: dto.label.value,
      size: dto.size,
      tickRate: dto.tickRate,
      presences: [],
    );