Input$InternalProductAttributeInput.fromJson constructor

Input$InternalProductAttributeInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$InternalProductAttributeInput.fromJson(
    Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('attributes')) {
    final l$attributes = data['attributes'];
    result$data['attributes'] = (l$attributes as List<dynamic>?)
        ?.map((e) => Input$InternalProductAttributeInnerInput.fromJson(
            (e as Map<String, dynamic>)))
        .toList();
  }
  return Input$InternalProductAttributeInput._(result$data);
}