OperationsScopedList.fromJson constructor

OperationsScopedList.fromJson(
  1. Map json_
)

Implementation

OperationsScopedList.fromJson(core.Map json_)
    : this(
        operations: json_.containsKey('operations')
            ? (json_['operations'] as core.List)
                .map((value) => Operation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? OperationsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );