added non-nullability for core
This commit is contained in:
committed by
Salvatore Giordano
parent
228778f2b1
commit
74fb9d8dd8
@@ -7,7 +7,7 @@ Matcher isSameChannelAs(Channel targetChannel) =>
|
||||
|
||||
class _IsSameChannelAs extends Matcher {
|
||||
const _IsSameChannelAs({
|
||||
@required this.targetChannel,
|
||||
required this.targetChannel,
|
||||
}) : assert(targetChannel != null, '');
|
||||
|
||||
final Channel targetChannel;
|
||||
@@ -26,7 +26,7 @@ Matcher isSameChannelListAs(List<Channel> targetChannelList) =>
|
||||
|
||||
class _IsSameChannelListAs extends Matcher {
|
||||
const _IsSameChannelListAs({
|
||||
@required this.targetChannelList,
|
||||
required this.targetChannelList,
|
||||
}) : assert(targetChannelList != null, '');
|
||||
|
||||
final List<Channel> targetChannelList;
|
||||
|
||||
@@ -7,7 +7,7 @@ Matcher isSameMessageResponseAs(GetMessageResponse targetResponse) =>
|
||||
|
||||
class _IsSameMessageResponseAs extends Matcher {
|
||||
const _IsSameMessageResponseAs({
|
||||
@required this.targetResponse,
|
||||
required this.targetResponse,
|
||||
}) : assert(targetResponse != null, '');
|
||||
|
||||
final GetMessageResponse targetResponse;
|
||||
@@ -28,7 +28,7 @@ Matcher isSameMessageResponseListAs(
|
||||
|
||||
class _IsSameMessageResponseListAs extends Matcher {
|
||||
const _IsSameMessageResponseListAs({
|
||||
@required this.targetResponseList,
|
||||
required this.targetResponseList,
|
||||
}) : assert(targetResponseList != null, '');
|
||||
|
||||
final List<GetMessageResponse> targetResponseList;
|
||||
|
||||
@@ -7,7 +7,7 @@ Matcher isSameMessageAs(Message targetMessage) =>
|
||||
|
||||
class _IsSameMessageAs extends Matcher {
|
||||
const _IsSameMessageAs({
|
||||
@required this.targetMessage,
|
||||
required this.targetMessage,
|
||||
}) : assert(targetMessage != null, '');
|
||||
|
||||
final Message targetMessage;
|
||||
@@ -26,7 +26,7 @@ Matcher isSameMessageListAs(List<Message> targetMessageList) =>
|
||||
|
||||
class _IsSameMessageListAs extends Matcher {
|
||||
const _IsSameMessageListAs({
|
||||
@required this.targetMessageList,
|
||||
required this.targetMessageList,
|
||||
}) : assert(targetMessageList != null, '');
|
||||
|
||||
final List<Message> targetMessageList;
|
||||
|
||||
@@ -6,7 +6,7 @@ Matcher isSameUserAs(User targetUser) => _IsSameUserAs(targetUser: targetUser);
|
||||
|
||||
class _IsSameUserAs extends Matcher {
|
||||
const _IsSameUserAs({
|
||||
@required this.targetUser,
|
||||
required this.targetUser,
|
||||
}) : assert(targetUser != null, '');
|
||||
|
||||
final User targetUser;
|
||||
@@ -24,7 +24,7 @@ Matcher isSameUserListAs(List<User> targetUserList) =>
|
||||
|
||||
class _IsSameUserListAs extends Matcher {
|
||||
const _IsSameUserListAs({
|
||||
@required this.targetUserList,
|
||||
required this.targetUserList,
|
||||
}) : assert(targetUserList != null, '');
|
||||
|
||||
final List<User> targetUserList;
|
||||
|
||||
Reference in New Issue
Block a user