toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> result = {};

  result["fileReference"] = fileReference;
  result["objectType"] = objectType;
  result["version"] = version;
  List<dynamic> list = [];
  for (var item in signerInfos) list.add(item.toJson());
  result["signerInfos"] = list;
  result["notifications"] = notifications;

  return result;
}