build method

  1. @override
_$ChannelMemberWithTeamData build()
override

Builds.

The implementation of this method will be generated for you by the built_value generator.

Implementation

@override
_$ChannelMemberWithTeamData build() {
  _$ChannelMemberWithTeamData _$result;
  try {
    _$result = _$v ??
        new _$ChannelMemberWithTeamData._(
            channelId: channelId,
            userId: userId,
            roles: roles,
            lastViewedAt: lastViewedAt,
            msgCount: msgCount,
            mentionCount: mentionCount,
            notifyProps: _notifyProps?.build(),
            lastUpdateAt: lastUpdateAt,
            teamDisplayName: teamDisplayName,
            teamName: teamName,
            teamUpdateAt: teamUpdateAt);
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'notifyProps';
      _notifyProps?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'ChannelMemberWithTeamData', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}