LiveChatUserBannedMessageDetails.fromJson constructor
LiveChatUserBannedMessageDetails.fromJson(
- Map json_
Implementation
LiveChatUserBannedMessageDetails.fromJson(core.Map json_)
: this(
banDurationSeconds: json_.containsKey('banDurationSeconds')
? json_['banDurationSeconds'] as core.String
: null,
banType: json_.containsKey('banType')
? json_['banType'] as core.String
: null,
bannedUserDetails: json_.containsKey('bannedUserDetails')
? ChannelProfileDetails.fromJson(json_['bannedUserDetails']
as core.Map<core.String, core.dynamic>)
: null,
);