toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts an object to JSON.

Implementation

@override
Map<String, dynamic> toJson() {
  final returnValue = <String, dynamic>{
    "\$": "0x6c47ac9f",
    "flags": flags,
    "key": key,
    "zeroValue": zeroValue,
    "oneValue": oneValue,
    "twoValue": twoValue,
    "fewValue": fewValue,
    "manyValue": manyValue,
    "otherValue": otherValue,
  };

  // Finished toJson.
  return returnValue;
}