toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "fileReference": fileReference,
      "objectType": objectType,
      "version": version,
      "signerInfos": signerInfos.map((e) => e.toJson()).toList(),
      "notifications": notifications,
    }.clearNulls();