OutputEventBody.fromMap constructor

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

Implementation

OutputEventBody.fromMap(Map<String, Object?> obj)
    : category = obj['category'] as String?,
      column = obj['column'] as int?,
      data = obj['data'],
      group = obj['group'] as String?,
      line = obj['line'] as int?,
      output = obj['output'] as String,
      source = obj['source'] == null
          ? null
          : Source.fromJson(obj['source'] as Map<String, Object?>),
      variablesReference = obj['variablesReference'] as int?;