toJson method
Implementation
@override
Map<String, dynamic>? toJson(PageTransitionsTheme? object) {
if (object == null) return null;
var builders = <String?, String?>{};
object.builders.forEach(
(key, object) =>
builders[const NullableTargetPlatformConverter().toJson(key)] =
const PageTransitionsBuilderConverter().toJson(
object,
),
);
return {
'builders': builders,
};
}