toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final initializationVector = this.initializationVector;
  final key = this.key;
  final keyMd5 = this.keyMd5;
  final mode = this.mode;
  return {
    if (initializationVector != null)
      'InitializationVector': initializationVector,
    if (key != null) 'Key': key,
    if (keyMd5 != null) 'KeyMd5': keyMd5,
    if (mode != null) 'Mode': mode,
  };
}