toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (currentState != null) 'currentState': currentState!,
      if (decryptionKeys != null) 'decryptionKeys': decryptionKeys!,
      if (keyName != null) 'keyName': keyName!,
      if (lastOperationErrors != null)
        'lastOperationErrors': lastOperationErrors!,
      if (state != null) 'state': state!,
    };