toJson method
Implementation
Map<String, dynamic> toJson() => {
"position": position,
"type": type,
"value": value,
"attribute": attribute,
"startLength": startLength,
"endLength": endLength,
"filler": filler,
"randomElement": randomElement,
"length": length,
"onlyDigits": onlyDigits,
"_id": id,
};