toJson method

List<Object?> toJson()

JSON representation used by hydration and persistence.

Implementation

List<Object?> toJson() => <Object?>[namespace, ...parts];