MatchData constructor

MatchData({
  1. String? matchId,
  2. UserPresence? presence,
  3. Int64? opCode,
  4. List<int>? data,
  5. bool? reliable,
})

Implementation

factory MatchData({
  $core.String? matchId,
  UserPresence? presence,
  $fixnum.Int64? opCode,
  $core.List<$core.int>? data,
  $core.bool? reliable,
}) {
  final _result = create();
  if (matchId != null) {
    _result.matchId = matchId;
  }
  if (presence != null) {
    _result.presence = presence;
  }
  if (opCode != null) {
    _result.opCode = opCode;
  }
  if (data != null) {
    _result.data = data;
  }
  if (reliable != null) {
    _result.reliable = reliable;
  }
  return _result;
}