ChannelActivity.fromJson constructor

ChannelActivity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ChannelActivity.fromJson(Map<String, dynamic> json) {
  return ChannelActivity(
    channelName: json['channelName'] as String,
    name: json['name'] as String,
    next: json['next'] as String?,
  );
}