channelType method Null safety

String? channelType()

Implementation

String? channelType() {
  return json.decode(content!)['type'];
}