toJson method

  1. @override
dynamic toJson()
override

Convert object to json compatible types

Implementation

@override
dynamic toJson() {
  final json = <String, dynamic>{};
  for (final entry in entries) {
    json[entry.key] = entry.value.toJson();
  }
  return json;
}