toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (keyId != null) 'keyId': keyId!,
      if (name != null) 'name': name!,
      if (privateKey != null) 'privateKey': privateKey!,
      if (privateKeySet != null) 'privateKeySet': privateKeySet!,
      if (tokenTtl != null) 'tokenTtl': tokenTtl!,
    };