toJson method

Map<String, dynamic> toJson ()

Implementation

Map<String, dynamic> toJson() {
  var json = <String, dynamic>{};
  json.addAll({
    'name': name,
    'valueAsString': valueAsString,
  });
  return json;
}