VariablesResponseBody.fromMap constructor

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

Implementation

VariablesResponseBody.fromMap(Map<String, Object?> obj)
    : variables = (obj['variables'] as List)
          .map((item) => Variable.fromJson(item as Map<String, Object?>))
          .toList();