toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson () {
  return {
    'type': type.value,
    'components': components.map((ComponentBuilder component) => component.toJson()).toList()
  };
}