Message.fromMap constructor

Message.fromMap(
  1. Map<String, Object?> obj
)

Implementation

Message.fromMap(Map<String, Object?> obj)
    : format = obj['format'] as String,
      id = obj['id'] as int,
      sendTelemetry = obj['sendTelemetry'] as bool?,
      showUser = obj['showUser'] as bool?,
      url = obj['url'] as String?,
      urlLabel = obj['urlLabel'] as String?,
      variables = obj['variables'] as Map<String, Object?>?;