toJson method

  1. @override
Map<String, dynamic> toJson({
  1. bool visible = true,
})
override

Convert the Any object to a JSON representation.

Implementation

@override
Map<String, dynamic> toJson({bool visible = true}) {
  return {'value': value.toJson(visible: visible), 'type_url': typeUrl};
}